﻿div#ffGameBoard {
    height:440px;
    position:relative;
    text-align:center;
}

ul#ffYAxis {
    position: absolute;
    right: 90%;
    bottom: 40px;
    width: 20px;
    margin:0;
    padding:0;
    border-right: 2px solid black;
    list-style:none;
}

ul#ffYAxis li {
    padding: 0;
    margin: 0;
    border-top: 1px solid black;
    height: 15px;
    line-height: 15px;
    text-align: center;
    font-size: 10px;
}

ul#ffXAxis {
    position: absolute;
    left: 10%;
    width: 80%;
    top: 400px;
    margin:0;
    padding:0;
    border-top: 2px solid black;
    /* To avoid whitespace inbetween elements. */
    font-size:0;
}

ul#ffXAxis li {
    display:inline-block;
    padding: 0;
    margin: 0;
    width:33%;
    max-width:33%;
    text-align: center;
    font-size: 10px;
}

div#ffbars {
    position: absolute;
    left: 10%;
    width: 80%;
    bottom: 40px;
    /* To avoid whitespace inbetween elements. */
    font-size:0;
}

    div#ffbars div.barContainer {
        display: inline-block;
        width: 33%;
        max-width: 33%;
        text-align: center;
    }

        div#ffbars div.barContainer div.bar {
            margin: 0 20%;
            background-color: #ffd800;
            height: 30px;
            max-height: 370px;
        }

div.ffOverlay {
    position: absolute;
    top: 0px;
    height: 100%;
    left: 0;
    width: 100%;
}

div.ffOverlay input {
    width: 100px;
}
div.ffOverlay input[type="checkbox"] {
    width: auto;
}

div.ffOverlay label {
    display:inline;
    font-size:1em;
}

div.ffOlBackground {
    position: absolute;
    top: 0px;
    height: 100%;
    left: 0px;
    width: 100%;
    background: #eee url("spjald.png") center top no-repeat;
    background-size: 100% 380px;
    opacity: 0.9;
}

div.ffOlContents {
    position: absolute;
    top: 30px;
    height: 320px;
    left: 0%;
    width: 80%;
    padding: 0px 10% 20px;
}
    div.ffOlContents p {
        margin: 10px 0 0;
    }
    div.ffOlContents h3 {
        margin: 0;
    }
    div.ffOlContents li {
        list-style: none;
        text-align: left;
    }
    div.ffOlContents div.explanationsDisplay {
        display: inline-block;
        width: 48%;
        margin: 5px 2% 5px 0;
        padding: 0;
        text-align: left;
    }
        div.ffOlContents div.explanationsDisplay li {
            cursor: pointer;
        }
        div.ffOlContents div.explanationsDisplay li:hover {
            color: #808080;
        }
    div.ffOlContents div.guesses {
        display: inline-block;
        width: 48%;
        margin: 5px 0 5px 2%;
        padding: 0;
        text-align: left;
    }

table.ffFambiTable {
    width:100%;
    margin:0;
}
    table.ffFambiTable tr {
        border: none;
    }
    table.ffFambiTable thead tr {
        border-bottom: 1px solid black;
    }
    table.ffFambiTable td {
        padding:5px;
    }
    table.ffFambiTable td.playerName {
        width:20%;
        font-weight: bold;
        text-align: right;
        border: none;
    }
    table.ffFambiTable td.playerExplanation {
        width:70%;
        text-align: left;
        border: none;
    }

p.fambiForRound {
    position: absolute;
    right: 0;
}
.selected {
    font-weight: bold;
}